@import "../config.less";
body{
	color: #333333;
}

.container{
	padding-bottom: 134/@r;
}

a{
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*商品样式*/
.product{
	width: 320/@r;
	>a{
		display: block;
		width: 320/@r;
		text-decoration: none;
		color: #333333;
	}
	.product-title{
		font-size: 20/@r;
		overflow: hidden;
		text-overflow:ellipsis;
		white-space: nowrap;
	}
	.logo-content{
		margin-top: 6/@r;
		width: 320/@r;
		height: 320/@r;
		position: relative;
		img{
			width: 320/@r;
			height: 320/@r;
		}
		.sale-count{
			position: absolute;
			right: 0;
			bottom: 0;
			width: 150/@r;
			height: 40/@r;
			background:rgba(32,169,205,0.5);
			text-align: center;	
			line-height: 40/@r;
		}
		.sale-count-text{
			font-size: 20/@r;
			color: @white;
			transform: scale(0.8);
			transform-origin: middle center;
		}
	}
	.price-group{
		margin-top: 12/@r;
		font-size: 20/@r;
		position: relative;
		/*display: flex;
		justify-content: space-between;
		align-items: flex-end;*/
		.price-group-left{
			transform: scale(0.8);
			transform-origin: left bottom;
		}
		.price{
			font-size: 50/@r;
		}
		.price-group-right{
			position: absolute;
			top: 0;
			right: 0;
			text-align: right;
			color: @common;
			p{
				transform-origin: right;
				transform: scale(0.8);
			}
		}
	}
	.btn-group{
		display: flex;
		margin-top: 6/@r;
		.btn{
			width: 160/@r;
			height: 56/@r;
			font-size: 18/@r;
			text-align: center;
			line-height: 56/@r;
			display: block;
			box-sizing: border-box;
		}
		.btn-left{
			border: 1/@r solid @blue;
			color: @blue;
		}
		.btn-right{
			background-color: @blue;
			color: @white;
			text-decoration: none;
		}
	}
}


.loading{
    width: 100%;
    height: 80/@r;
    display: flex;
    justify-content: center;
    align-items: center;
    .loading-icon{
        width: 32/@r;
        height: 32/@r;
        margin-right: 10/@r;
    }
    .loading-text{
        font-size: 24/@r;
        color: @grey;
    }
}

.ending{
    width: 100%;
    height: 80/@r;
    text-align: center;
    line-height: 80/@r;
    color: @grey;
    font-size: 24/@r;
}

.navbar{
	width: 100%;
	height: 144/@r;
	position: fixed;
	left: 0;
	bottom: 0;
	background-color: @white;
	border-top: 1/@r solid #E1E1E1;
	display: flex;
	.navbar-item{
		width: 20%;
		height: 144/@r;
		a{
			width: 100%;
			height: 100%;
			display: block;
			text-decoration: none;
			font-size: 28/@r;
			color: #2C2C2C;
			text-align: center;

		}
		img{
			margin-top: 20/@r;
			margin-bottom: 10/@r;
			width: 60/@r;
			height: 60/@r;
		}
	}
}

